﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows.Input;
using WPF60.Infrastructure.CabSupport;
using WPF60.Infrastructure.Model;

namespace WPF60.DemoModule.Views.LeftNav
{
    public interface ILeftNavViewModel : IViewModelBase
    {
        ObservableCollection<DemoPage> Pages { get; }
        ICommand SelectedPageCommand { get; set; }
    }

    class LeftNavViewModel : ViewModelBase, ILeftNavViewModel
    {
        public LeftNavViewModel()
        {
            Pages = new ObservableCollection<DemoPage>();
        }

        public ObservableCollection<DemoPage> Pages { get; private set; }

        public ICommand SelectedPageCommand { get; set; }
    }

   
}
